package by.averianov.discounta.services;

import java.util.List;

import javax.persistence.metamodel.SingularAttribute;

import by.averianov.discounta.datamodel.Product;

public interface SaleService {

	List<Product> getAllProductNotNull(SingularAttribute<Product, ?> sortParam, boolean ascending, int first, int count);

	Long getCountProductNotNull();

	Product getProductById(Long selectProductId);

}
